package mapper.imp;

import entity.Per;
import entity.Rol;
import entity.User;

import java.util.List;

public interface UserImp {
    public int insert(User user);
    public int delete(int id);
    public int update(User user);
    //查询该用户对应的角色
    public List<Rol> selectRol(String name);
    //查询该用户对应的权限
    public List<Per> selectPer(String name);
}
